//
//  DrawItem.h
//  RapidMo
//
//  Created by Michael on 10.09.09.
//  Copyright 2009 Artgruppe inc. All rights reserved.
//

#import <Foundation/Foundation.h>

#define TYPE_LINE					1
#define TYPE_CIRCLE					2
#define TYPE_ARC					3
#define TYPE_IMAGE					4
#define TYPE_ANIMATION 					5 	// array of images;
#define TYPE_FOG					6

#define kCenter						@"center"
#define kType						@"type"
#define kRad						@"rad"
#define kColor						@"color"
#define kImage						@"image"

@interface DrawItem : NSObject/*<NSCoding, NSCopying>*/{
	int type;
	int rad;
	CGPoint center;
	UIColor* color;
	UIImage* image;
	double animationDuration; 			/// for animation
	NSArray* animPictures;
	int nodeNum;					///! should tell arc-drawing which number of node is it (cheating)
}
@property (nonatomic, retain) NSArray* animPictures;
@property (nonatomic, retain) UIColor* color;
@property (nonatomic, retain) UIImage* image;
@property (nonatomic) int nodeNum;
@property (nonatomic) int type;
@property (nonatomic) double animationDuration; 

@property (nonatomic) int rad;
@property (nonatomic) CGPoint center;

@end
